home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dskrw234.zip / DISKRW2.BAT < prev    next >
DOS Batch File  |  1991-08-05  |  1KB  |  46 lines

  1. @echo off
  2.  
  3. cls
  4. echo DiskRW2
  5. echo ═══════
  6. echo Create several copies of one source disk using DISKRW
  7.  
  8. echo.
  9. if %1.==. goto syntax
  10. if exist diskrw.tmp goto fexist
  11.  
  12. echo press Ctrl-C to abort, any other key to start
  13. pause >nul
  14.  
  15. cls
  16. echo insert  S O U R C E   D I S K  , then press any key
  17. echo         ═════════════════════
  18. diskrw %1 diskrw.$$$
  19. if errorlevel 1 goto end
  20.  
  21. :copy
  22. cls
  23. echo insert  D E S T I N A T I O N   D I S K , then press any key
  24. echo         ═══════════════════════════════
  25. diskrw diskrw.$$$ %1
  26. echo.
  27. echo Press CTRL-C to stop, any other key for one more copy
  28. echo After pressing CTRL-C you should erase the file DISKRW.$$$
  29. pause >nul
  30. goto copy
  31.  
  32. :syntax
  33. echo Syntax: DiskRW2 drive:
  34. echo Example: DiskRW2 A:
  35. goto end
  36.  
  37. :fexist
  38. echo There exists already a file with name "DISKRW.$$$".
  39. echo If you do not longer need this please delete it
  40. echo otherwise rename it or change to a different directory
  41. echo before calling DiskRW2
  42. goto end
  43.  
  44. :end
  45. echo.
  46.